<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>车险批改</title>
    <%@include file="common.jsp"%>
    <script src="/static/js/views/reviseinfo.js"></script>
</head>
<body>
<div id="revise-panel">
    <%--获取选中保单的id 和批改原因--%>
    <input type="hidden" id="orderBillId" value="${orderBillId}"/>
    <input type="hidden" id="reasonValue" value="${reasonValue}"/>
    <div id="reviseinfo_panel">
        <form id="revise_form" method="post">
            <input type="hidden" name="aplicant.id">
        <table style="width: 100%">
            <tr>
                <%--高级查询页面带过来的id 并回显为只读--%>
                <td><input name="id" class="easyui-textbox" data-clz="revise" data-options="label:'申请单号:',labelPosition:'before',disabled:'true', labelWidth:110 ,width:350"></td>
                <td><input name="reviseid" class="easyui-textbox" data-options="label:'批单号:',labelPosition:'before', labelWidth:110 ,width:350"></td>
            </tr>
            <tr>
                <td><input name="reviseReason" class="easyui-textbox" data-options="label:'批改原因:',labelPosition:'before',labelWidth:110 ,width:350"></td>
                <%--批改申请日期从OrderBill中查询并回显为只读--%>
                <td><input name="wittingDate" class="easyui-datebox" data-options="label:'批改申请日期:',labelPosition:'before',disabled:'true', labelWidth:110 ,width:350"/><td>
                <td>
                    <label>是否可疑单:</label>
                    <input type="radio" name="doubtful" value="1">
                    <label>是</label>
                    <input type="radio" name="doubtful" value="0">
                    <label>否</label>
                </td>
            </tr>
            <tr>
                <%--申请人从OrderBill中查询并回显为只读--%>
                <td><input name="aplicant.realname" class="easyui-textbox" data-options="label:'申请人:',labelPosition:'before', disabled:'true',labelWidth:110 ,width:350"></td>
                <td><input name="applyType" class="easyui-textbox" data-options="label:'申请类型:',labelPosition:'before', labelWidth:110 ,width:350"></td>
            </tr>
            <tr>
                <td>
                <input name="validityFrom" class="easyui-datebox" data-options="label:'批改有效期:',labelPosition:'before',labelWidth:110 ,width:290"/>
                ~<input name="validityTo" class="easyui-datebox" data-options="width:180"/>
                </td>
            </tr>
            <tr>
                <td>
                    <input name="reviseinfo" class="easyui-textbox" data-options="label:'批文:',labelPosition:'before',labelWidth:110 ,width:650,height:100 ">
                </td>
            </tr>
        </table>
        </form>
    </div>

<%--投保人信息: 根据保单号--%>
<div id="client_panel">
    <div style="height:210px;">
        <form id="client_form" name="client_form" method="post">
            <input type="hidden" name="id"/>
            <big>
                <div>
                    <p>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <font color="red">*</font>名称:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input name="realname" class="easyui-textbox">
                        <input type="radio" name="clienttype" value="1">
                        <label>个人</label>
                        <input type="radio" name="clienttype" value="0">
                        <label>法人</label>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;
                        <font color="red">*</font>反洗钱客户风险等级:&nbsp;&nbsp;
                        <input name="clientlevel" class="easyui-textbox" ><br/>
                    </p>
                    <p>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <font color="red">*</font>证件类型:&nbsp;&nbsp;&nbsp;
                        <input name="idcardtype" class="easyui-textbox">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;
                        <font color="red">*</font>证件号码:&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;
                        <input name="idcardnumber" class="easyui-textbox" >
                    </p>
                    <p>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        通讯地址：&nbsp;&nbsp;
                        <input name="address" class="easyui-textbox" data-options="width:400">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        电话：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input name="phonenumber" class="easyui-textbox" >
                    </p>
                </div>

            </big>
        </form>
    </div>
</div>
    <%--时间信息--%>
    <div id="time_panel">
        <form id="time_form" method="post">
            <table style="width: 100%">
                <tr>
                    <td>
                        <input name="inputTime" class="easyui-datebox" id="time1" data-options="label:'申请日期:',labelPosition:'before',labelWidth:110,width:290">
                    </td>
                </tr>
                <tr><td> </td></tr>
                <tr>
                    <td>
                        <input name="beginDate" class="easyui-datebox" id="time2" data-options="label:'保险起止期:',labelPosition:'before',labelWidth:110 ,width:290"/>
                        ~<input name="endDate" class="easyui-datebox" id="time3" data-options="width:180"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <%--车辆信息--%>
    <div id="car_panel">
        <form id="car_form" method="post">
            <table style="width: 100%">
                <tr>
                    <td>
                        <font color="red">*</font>是否上牌:
                        <input type="radio" name="carPlate" value="1">
                        <label>是</label>
                        <input type="radio" name="carPlate" value="0">
                        <label>否</label>
                    </td>
                    <td>
                        <font color="red">*</font>是否新车:
                        <input type="radio" name="newCar" value="1">
                        <label>是</label>
                        <input type="radio" name="newCar" value="0">
                        <label>否</label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <font color="red">*</font>是否外地车:
                        <input type="radio" name="foreginCar" value="1">
                        <label>是</label>
                        <input type="radio" name="foreginCar" value="0">
                        <label>否</label>
                    </td>
                    <td>
                        <font color="red">*</font>车辆过户:
                        <input type="radio" name="transferCar" value="1">
                        <label>是</label>
                        <input type="radio" name="transferCar" value="0">
                        <label>否</label>
                    </td>
                </tr>
                <tr>
                    <%--二级联动--%>
                    <td><select id="selectedBrand" name="cp_name" class="easyui-combobox"
                                data-options="label:'品牌车型:',labelPosition:'before',prompt:'请选择', width:300,
                         valueField:'id',textField:'name', url:'/carModel/selectParent'"/>
                        <input id="selectedModel" name="cm_name" class="easyui-combobox"
                                    data-options="prompt:'请选择', width:200,
                             valueField:'id',textField:'name' "/>
                    </td>
                </tr>
                <tr>
                    <td><select name="plateType" class="easyui-combobox"
                                data-options="label:'号牌种类:',labelPosition:'before',prompt:'请选择', labelWidth:110 , width:350,
                         valueField:'id',textField:'name', url:'/static/js/data/plateType.json'"/>
                    </td>
                    <td><input name="carNumber"  class="easyui-textbox" data-options="label:'车牌号:',labelPosition:'before', labelWidth:110 , width:350"></td>
                    <td><input name="vin" class="easyui-textbox" data-options="label:'车架号:',labelPosition:'before', labelWidth:110 , width:350"></td>
                </tr>
                <tr>
                    <td><input name="engineNum" class="easyui-textbox" data-options="label:'发动机:',labelPosition:'before', labelWidth:110 , width:350"></td>
                    <td><input name="fristLoginDate" class="easyui-datebox" data-options="label:'初登日期:',labelPosition:'before',labelWidth:110, width:350"></td>
                    <td><input name="carPrice" class="easyui-textbox" data-options="label:'新车购置价:',labelPosition:'before', labelWidth:110, width:350 "></td>
                </tr>
                <tr>
                    <td><select name="useNature" class="easyui-combobox"
                                data-options="label:'使用性质:',labelPosition:'before',prompt:'请选择', labelWidth:110 , width:350,
                         valueField:'id',textField:'name', url:'/static/js/data/useNature.json'"/>
                    </td>
                    <td><select name="carType" class="easyui-combobox"
                                data-options="label:'车辆种类:',labelPosition:'before',prompt:'请选择', labelWidth:110 , width:350,
                         valueField:'id',textField:'name', url:'/static/js/data/carType.json'"/>
                    </td>
                </tr>
                <tr>
                    <td><input name="drivingArea" class="easyui-textbox" data-options="label:'行驶区域:',labelPosition:'before', labelWidth:110 , width:350"></td>
                    <td><input name="seatNum"  class="easyui-textbox" data-options="label:'座位数:',labelPosition:'before', labelWidth:110 , width:350"></td>
                    <td><select name="importCar" class="easyui-combobox"
                                data-options="label:'国产/进口:',labelPosition:'before',prompt:'请选择', labelWidth:110 , width:350,
                         valueField:'id',textField:'name', url:'/static/js/data/importCar.json'"/>
                </tr>
                <tr>
                    <td><input name="maxLoad" class="easyui-textbox" data-options="label:'核定载质量:',labelPosition:'before', labelWidth:110 , width:350"></td>
                    <td><input name="power"  class="easyui-textbox" data-options="label:'功率:',labelPosition:'before', labelWidth:110 , width:350"></td>
                    <td><input name="exhaust" class="easyui-textbox" data-options="label:'排气量:',labelPosition:'before', labelWidth:110 , width:350"></td>
                </tr>
                <tr>
                    <td><input name="shiftDate" class="easyui-datebox" data-options="label:'过户日期:',labelPosition:'before',labelWidth:110, width:350"></td>
                </tr>
            </table>
        </form>
    </div>
    <div align="rigth">
        <a class="easyui-linkbutton" data-options="width:100" data-cmd="save" >保存</a>
        <a class="easyui-linkbutton" data-options="width:100" data-cmd="audit" >申请核保</a>
    </div>
</div>
</body>
</html>
